package com.shengdong.water.code.adapter

import com.shengdong.water.R
import com.shengdong.water.code.base.BaseRecyclerAdapter
import com.shengdong.water.code.bean.GovernBean
import com.shengdong.water.code.bean.RealTimeBean
import com.shengdong.water.databinding.ItemInspectBinding

class SiteInspectionAdapter : BaseRecyclerAdapter<RealTimeBean, ItemInspectBinding>() {

    override fun getLayoutId() = R.layout.item_inspect

    override fun bindData(binding: ItemInspectBinding, item: RealTimeBean, position: Int) {
        super.bindData(binding, item, position)

        binding.item = item

        // 可以在这里添加额外的绑定逻辑
//        binding.tvName.text = ""
//        binding.tvOfficial.text = ""
//        binding.tvCode.text = ""
//        binding.tvRegion.text = ""


        binding.executePendingBindings()
    }
}